package cn.fuxue.hrms.common.entity;

/**
 * @author 王文勇
 * @version 1.0
 * 绩效评估的相关信息
 */
public class PerformanceEvaluation {

    // ID（主键）
    private int id;
    // 员工 id
    private String employeeId;
    // 评估时间
    private String evaluationTime;
    // 评估结果
    private String evaluationResult;

    // 无参构造函数
    public PerformanceEvaluation() {
    }

    // 全参构造函数
    public PerformanceEvaluation(int id, String employeeId, String evaluationTime, String evaluationResult) {
        this.id = id;
        this.employeeId = employeeId;
        this.evaluationTime = evaluationTime;
        this.evaluationResult = evaluationResult;
    }

    // Getter 方法
    public int getId() {
        return id;
    }

    public String getEmployeeId() {
        return employeeId;
    }

    public String getEvaluationTime() {
        return evaluationTime;
    }

    public String getEvaluationResult() {
        return evaluationResult;
    }

    // Setter 方法
    public void setId(int id) {
        this.id = id;
    }

    public void setEmployeeId(String employeeId) {
        this.employeeId = employeeId;
    }

    public void setEvaluationTime(String evaluationTime) {
        this.evaluationTime = evaluationTime;
    }

    public void setEvaluationResult(String evaluationResult) {
        this.evaluationResult = evaluationResult;
    }

    @Override
    public String toString() {
        return "PerformanceEvaluation{" +
                "id=" + id +
                ", employeeId='" + employeeId + '\'' +
                ", evaluationTime='" + evaluationTime + '\'' +
                ", evaluationResult='" + evaluationResult + '\'' +
                '}';
    }
}
